import request from '@/utils/request'

// 获取所有学科
export const fetchSubjectListAll = () => {
    return request({
        url:'/subject/listAll',
        method:'get',
    })
}

// 获取学科列表
export const fetchSubjectList = (params) => {
    return request({
        url:'/subject/list',
        method:'get',
        params:params
    })
}
